Fix runSequence bug