minor changes on pvIndResize