fix root reference