Card display issue fix