fixed setspawn glitch