remove redundant warning