Added bad message handling in sequencer
Refactoring