changed some resizing issues