fix missing $ on scope