fixing tracking issues of deleted files