set root to profile index