fix ubuntu problems