Added flash fix