fix wrong function call in flavor migration task