game states bug fixes