fixed an issue that preventing zsm from running via cron