Flash message type needs to be converted to symbol