fixed the time mishap