fixed game over problem