fix warning:

equality comparison with extraneous parentheses