fix centos compatiable problem