add right alignment of badge