small changes for CentOS 5