fixed root reference in class constant