fix for searching with dmg