putpattvlink improved