image insert edit bugfix