Fix typo and remove unnecessary use of sudo.