fix issue with search