auto json fetch in nightly cron
errors from cron
header fix