resolve root/pre/post