Fixed gid bug problem in import_slice