Fix in creating new schedule