fix adding similar items bug.