Remove console.log in code