Fixed error with hour data