everything working except search is weird