fixes hist alias handling of encodings