fix pill border