fixed stopwatch bug