fix network usage calculation