Fix reading unsigned long