attempt to fix migration bug