fix ops before connected bug