fixing nokogiri xpath calls