clean up keygen task

a little tlc for now