resolves two warnings (apiconnector)