fixed server and added centos client support