made changes to warning UI