fix a box cards bug