bug for time corrected