checkout value bug fix