fixed the result display. seems I didnt commit the previous changes