fix typos in the package loader