clean up repo open