fix the disable method