adapt to centos;