using wrong value

I noticed a problem when I merged in the change.