make unmounting work