Fixing resizing