fix wallet scope