remove not needed encoding. default one is used