fix table remove row bug and auto detect predictor field