fix ubuntu and break RHEL