fix first RedHat 5.x issues