fix some comparisons