minor resizing modifications