problems with migration fixed