fixed a problem with retrieving the cron key