july 9 corrections to PM_deleteAccess and keypair_helper

please also include the keypair name.