fix bug of button