fixed bug in conf