Fix: resize feature
Fix bug from previous commit