bug fixes for editor and live deletion