fixing resizing issues 32