Fixed bugs in new flavor events