fig a bug in calculating the total trapped charge