copying features into gdb, fixed global deletions for tmp