fixed copy/cut/paste in editor