cleanups
fetching public key