print path to root