typo in load function