BoxToArray fixing