changed resizing