modify subject encoding