Fix bug 'Lost $ character'