fixed xpath conditional statement glitch in CSV links