force box resizing