more changes to fix rf.R