Fix an error that arrises in trac references