Fixed issues with CentOS