Edit logical error