fixed: can't run even if sudo flag is true