fix url quoting