fix inline editing after regression introduced by lazy-loading; add some comments