fix copying to system clipboard