fixed game time calculation issue