removed a console.debug line