OnMouseDown stop working in middle of the game

I am making a card game , each card has a box collider 2d and a script that contains a onmousedown function, this function debug.log the value of the card , when i run the game the function works well , but after sometime some cards stop reacting the clicks and some others works perfectly, they have space between them so i’m sure it’s not an overlapping problem
Any suggestions?