Fixed CentOS 6 bug