bungled the badge embedding