finally working migration no thanks to gray