fixed bug in link