Fixing template for not adding urlport per default