fixing resizing issues 33