Refactored flashing the first base error