add error message when the migration tool is not consistent