fixed the hour_by_hour