fixing resizing issues 13