fix for half-day