fix unclosed anchor