fix scan.xml in wrong folder bug