fixing resizing issues 8