fixed anchor tag not being closed