file deletion fix