design and ScheduleHour error fixed