bug correction in pvIndResize