fixed the cronjob