fix for box sizes