remove maxHour properties change to endHour