fixed incorrect headings and badge alignment