search feature now rendering results properly