fix viewpindetail