corrected error with check time