fixing the problem that slows the result page