Correction resize

Update resize, better test