fixed url issue in template