fix resizer usage