fix clipboard issue on ubuntu