[x] fix badge bug