Fix link creation.