undelegating keys on remove