flash error message finished