file deleting fix