fix the bug for the config.xml