Fix typo and result printing