Fixed bug in simulation group.