fix typo in loader