Fixed unresolved ##root## macro issue