added tag attribute to flash model