more silly encoding fixes