fix remaining unsigned long