fixed the bug in single config file running