fixed bugs with sched editing
schedule editor finally fixed