remove the old encoding