fix disabled state