Quick fix for invalid encoding issue.