final fix for encoding