modify connect-flash