fixed typo in comparison