more bug fixes for inline editing functions.