fixed cronjob problems