fix typo in loader exceptions