added warning messages and detailed information in flash