scope event fix