fix bug for connector

Change-Id: I919b75c44a7bd90d6ca2b71b629346894a39a666