Fixed another potential issue in loaders.lua