fix ignoreWarning