small fix for sudo and cron