better badge positioning