7 Segment off LEDs Problem

Thanks Jobi for your response.

Jobi-Wan:
You may be sinking more current into your segment pins (4,5,6) than is healthy for them.
You could put BJTs or mosfets on those and use a running one instead of a running zero.

I used bc548 transistor, but the transistor did not solve the problem. any idea?