bugfix in stopwatch