Fix problem in action's scope