add addconf arg checking; fix bug found by argument checking.