Minor scoping fix
3.1.1