Fix escaping and url