fixed sudo bug