update to the fixed generator of connector