fixed the bug , adjust some xml config, anded missed config property
while doing self testing