fixed small bug in game script