Fix some url tags in the templates