stringsAsFactors and fix typos