fixed score and time bug