removed console.log, fix for emit data