Proper fix for the sudo problem