box to array fix