display is now working with nested xpathing