remove unnecessary assertion
fix typo