fix comparison
fix typo