Add edit repair