copy and max width of badge