Fix string substitution error in item id