fix typo and remove commented out assertion