fix a bug for new installed centos