Resize correction added