fixed other bad comparisons