fix wallet recovery