bugfix in blocked devices cron script