set root as post index