fix cut/copy/paste