removes recundant arrays
rework some oreMappings