fixed $ out of scope in quoting