fixed missing scope