fix badge issue