fixed up comparisons - now they are sane