Fix warning about qualified variable lookup