fixed up some ints to be longs