fixed connector type check
fixed connector type check