Fixed a bug (data->flavor)