fixing migrations part 1