change project root detect order