schedulecontroller.java fix