wrapped console.log in DEBUG
removing xdata data