scoping fix