fixed error with EmbeddedConnector