Fix scope bug in actions closure