fixed the total size output