fixing missing end link