fixed typo in comparison operator