fixed anchor tag bugs