fixing resizing issues 10