Added flash error message