fixed strange bug in the text of legacy-migration
modified legacy migration due to strange text error