fix resizer