display warning messages