fixed a flash message type.