support for flash messages data coding