Fix parsing of $.
fix parsing of $.foo