fix templates appearing in badges