fix sources w new encodings