fixed an ==/= bug