bug fix in sumSim