Fixed bug with XU