fix typo in migrate