fix encoding 3