Use trick to display badges correctly