close env-entry tag