bug fixes in gamebase