change $root to $parent in search.cshtml