Fix badge code.