fixed comparisons