Fix bug on centos