change badge layout