fix: use sudo if failed