fix warnings related to use of ==