Fixes badges.