fix some bugs in badge
change badge