move middleman to root