vendor fix scope resolution error