fixed osclass xpath bug