fixes search results from being cutoff