fixed equality in integer type