now using flash instead of content for errors