correct formatting of badges