fix for issue #240 removing console.log