fixing resize in digitool