fixed crash for deleted migration classes