warning messages display properly