remove commas for encodings