fixed bug in link field assignment