replace Hpricot with Nokogiri