some minor cleanups to David's resizer pull request