fix home page problem and add Nokogiri support