cached body to $.root and changed dependency order