got error flashes working