Fix leftover scope error