bug fix by item total