fixes for centos 6.5/sudo