fix some migration