fix hours to subtract day/2