fixing resizing issues 14