random forest cleanup