fixes for rhel/centos