replace flowScope to flashScope