fixing SERVER_TYPE and SERVER_CONF problem.