fixing hour/day compare stuff