reorg the repo