detach object spawning, prepare map change