modify when select location shows up and confg.xml