fix for tail_graph, add_authorized_key_from_stored_keypair