Clean up console.log used for some debugging