toggle edit fixed