fix sudo sequence