fix ubuntu support