fix the bug of config file