bug fix in item_controller