support copy/paste on macosx