Connector fix of constructor