added disable function when classfier is removed