fixed encoding.