total value bug