hack to get RHEL6 working, but breaks RHEL5/CentOS5. do not use.