adjusted resizing issues