worked out flash errors