refactor(mellow) getRoot: put win on top