fix -show_spent logic