change computation of past which is monitored by instance monitor
fix bug, run simple TripBook sampel with loop successfully