fix vpts calc incorrect bug