fixed unsigned int comparison