fix error with deleted files in current version