showResults bug fix