(hopefully) fix quote encoding