missed one edit in the factor to numeric conversion