set root to the list of posts