fixed problem with SqlConnector