fix bug on item_value in case.py