fixed bug when specifying different name in conf