fixed template export button