Some uint's to int to avoid compare problems