made sure classes was always an array

had to convert the setting into an array instead of a hash so classes is
always an array