disabled button bug fix