Fix for exception on CentOS