fixed some bugs for the solid simulation.