remove console.warn
cleanup