fix for freeze when searching sub in comments