fixing resizing issues 30