fixed merged for master #3483
#3483 clean up a console.log