* fixed migration bug