replace many == with ===
missed method from previous refactoring