removed a console.debug()