Fix default value for schedule length