fixed single player spawn bug