fixes inline edit bugs