pin close on pep template