fixed erroneous xml variable stopping recurring xml operations