fix existence custom template