minor fix to escape urls