Yet another fix for the loader

Hopefully this time it will be right