Fix a bug an encoding related bug