added an error to the flash page