fixxed bug where xipath was prepended by a null value in the DOM