fix double quoting bug

Was broken on Firefox or IE + Windows 7.