Add missing scope

fix #875