bug: support for resize