fix sudo feature