TMDM-7721: fix bug that cannot select xpath.