deleting tmp folder by errors