fixed error on centos 5 system