Remove fitting function