fix hours bug