fixed flashbag with an ugly index
backward compatible flashbag solution
open sew added