fixing the initial connection for API connector to work with internal API