fixed bug in links