Fix root reference