minor changes: erased resizor's usage