master #17 converting factor columns to character