adapte to rhel 7