fix printResult