fixed parsing issue for nokogiri