attempt to fix end time