bug fixed variable declaration
bug fixed Connector