Fix showResult error