Fixed the bad migration issue