add cron, catch index errors