fix missing scope