fix bug in extracting translation links