setting the output connector used the input connector to see if it already existed which was a typo