replaced warning