fixed search feature crash