set root to posts#index