Fixpvisualline

fixed two (idetical) issues #471,#478

If it has any problems, please point out that to me.