+ fix crash by scanning files