Fix printing of results