fixed the issue with display results