fix resizing. Done.