fix host key generation for worker