Fixed a loader bug