fix sudo invocation