clean up node edit template