fixes box sizes