remove whitespace at $