:internal: resizing code works now