fixed operator== and operator!= for interfaces