remove unused require, fix a couple typos