fixed a few long vs long long parameters which seemed to have been the cause of some wrapping errors on the network usage tracking.