attempt to fix errors caused by adding an <a> elem