small fix to resizer