lot of fixes for centos