Revert "EB-7159: Red error message bug fixed"

This reverts commit 4cd23de875030e861e0e45c87efebd1c18ea55ca.