fix @ in templates