fix a bug in simulate
	modified:   src/systemscala/simulate.scala