resize repair