fixed bug in cron_sched
some front end changes