Fix routes required tree