fix badge edit