fix for redhat and centos