fix badge weirdness