bug fixed for bare centos6 enviroment.