Fixed sneaky bug in move_ptr