clear old results to prevent flickering when switching between old results and new results