Fix var name conflict in loadArray