first fix for encoding troubles