small encoding fix