fix bug of item saving raise except when item.year is ''