fixed internal links bug