fixed timer bug (exception)