fix cmd line wallet creation. fixes #684