fix URL in template