fix return code
fix typo