adjust to config.xml