Unwanted console.logs