Fix result not printed on STDOUT.