add check on the migration - adrien