avoid padding when replacing button