fixed bound error for schedule page