delete excess '$' symbol