Properly format badges