fix initialize(flavor)