removes console.warn