fixed unsigned comparisons