Fixed clipboard issue on mac