Fixed the warning pop-up display issue