fix add_badge