fix the loadAll to actually work