fix localhost links