fixing resizing issues 9