fix bug with Centos.