fix whole hour bug