fix for searching