fixed centos2.6 agent creation