update some typo and factor vector for RF