selected files crash fixed