ugh. ugly fix for quoting and unicode