cleaned up flash errors