added ml check in migrator