fixed the game timer
fixed tree check