Fixing issue with empty loader file