small Resize() fix