set fix.factors=TRUE if surrogate is RF