make comparsion explicitly unsigned