fixes comparisons