no double resize (addition to #112)