clean up helper.curl and keypair.curl