fixed issue with search