fix zero total[sim]