Fix bug in loaders.