Fix bug on scheduler bin, convert int hour