fix button disable and enable