(bluefox) improve deletion of adapter