some encodings tweaking