trying to fix mixed encoding problem