Make blocking gate triggers by plugs

Close #1167