Moved internalIds after loading prefixes file