make separatetrans work with joblib