remove signed vs. unsigned comparisons