Fix timer error that caused multiple errors.