typo in output check