fixed xpath bug #54