fix ubuntu input method problem