fixing resizer