Same rebars have different sofistik mark

I have a problem of different marks appearing for similar bars and it is not grouping some same rebars when i create schedule in sofistik.
As shown in the screenshot position number 17 and 19 are exactly similar bars of same dimensions. But have different marks.
i tried with deleting and copying the other bars. But nothing helped. Anyone knows a solution for this?
Thanks in advance.