Fix for scope not defined error

Was missing '$' before scope