Probably fixes end time setting

I dunno