Fixing rstats.