cleans up console.log calls