set root to posts