cleanup insert template operators