Properly fix the loader path issue