fixes for sudo