Fix wallet generate