Fix scope errors