replaced Hpricot with Nokogiri