fix magpis
fix ned for real, and fix abuses in commons