tmp will now be cleaned up