Added error flash