change first_item_(id|type) to item_(id|type)