fix searching in nested scaffolds
fix searching in nested scaffolds