fixing resizing issues 11