rework bt_deletekey