Adjusting for xpath