fixing resizing issues 15