migration bug is fixed