clean up attachment removal