repaired local edit