Improved flash error message