fix error msg when using wrong connector name