deal with SEQUENTIAL_EVENTS
Fix a bug of robots stucking in the wall