solve problems with migrations