putting autodelete back in