updated resizer