rebuilding repository