initialize flash when analysis completed