fixed issue with linking to wrong content