Removes unnecessary $ from variables