Fix the transform to include base links