fixed the issue related to Sleep hours.