close repo on gc
fix typo