add flash event error