fix search results being cutoff