remove extraneous $'s