fix for when sudo_user is used