fixed rootfind