fixed Nokogiri truncation issue