improved selection of potential folders