fix the loader