solved error at game over