fix injection of link