fix bug in xpath expression