fixed internal / external link bug