fixed old migration tool check