removes unnecessary to_s for chart url