fix encoding #3