Fix resizedata