fixed the <a> bug