Fix a minor error about showing the results of scan