fixed error singleplayer