fixed small API bugs and cron UI bug