Fix the url logging and parenthetical urls