Fixed bugs related with added links