fixed bug with config.xml