fixing bug in cron script