fixes duplicate id and adds small styling tweaks