added error flash.html