Badge optimize