remove redundant warning option