Fix accessory edit bug.