fix collection return error in Connector