added a check for sequence bars for entry/close