improve inline editing