more fixes regarding centos