update badge; fix error.