work on inline edit mode